CommonsBooking\Model\Timeframe D

Total Complexity 178
Dependencies 10
Dependents 17
Total lines 1,168
Lines of code 594
Logical lines of code 281
Comment lines 415
Methods 49
Properties 0

Methods 49

Method Rating Maintainability Complexity Lines of code
isValid()
C
31 25 120
hasTimeframeTimeOverlap()
B
51 20 27
overlaps()
B
41 16 62
hasTimeframeDateOverlap()
A
57 13 18
formatBookableDate()
A
48 10 34
getAdmins()
S
56 7 20
isUserPrivileged()
S
58 5 16
bookingCodesApplicable()
S
64 6 9
getItems()
S
60 4 15
getLocations()
S
60 4 15
hasWeeklyManualOverlap()
S
57 3 17
getLocationIDs()
S
60 3 15
getItemIDs()
S
60 3 15
getStartTimeDateTime()
S
60 3 13
getGridSize()
S
61 3 11
getUTCStartDateDateTime()
S
65 3 10
getItem()
S
66 3 9
getLocation()
S
66 3 9
getUTCEndDateDateTime()
S
64 3 10
getEndTimeDateTime()
S
63 2 11
updatePostMetaStartAndEndDate()
S
65 2 8
getEndDateDateTime()
S
69 2 7
getManualSelectionDates()
S
65 2 10
getItemID()
S
69 2 7
getStartDate()
S
65 2 10
getLocationID()
S
69 2 7
getFirstBookableDay()
S
70 2 5
getLatestPossibleBookingDateTimestamp()
S
67 2 7
getEndDate()
S
68 2 8
getTimeframeEndDate()
S
66 2 9
isOverBookable()
S
78 1 3
getStartDateDateTime()
S
76 1 4
isLocked()
S
78 1 3
getRepetition()
S
80 1 3
formattedBookableDate()
S
79 1 3
isFullDay()
S
79 1 3
hasBookingCodes()
S
79 1 3
usesBookingCodes()
S
79 1 3
showBookingCodes()
S
79 1 3
getWeekDays()
S
80 1 3
getGrid()
S
80 1 3
getEndTime()
S
80 1 3
getStartTime()
S
80 1 3
getType()
S
80 1 3
getTimeFormat()
S
80 1 3
isBookable()
S
73 1 5
getRawEndDate()
S
81 1 3
getDateFormat()
S
79 1 3
getMaxDays()
S
80 1 3